package com.ctshk.common.enums;

/**
 * <p>
 *  短信验证码类型
 * </p>
 *
 * @author 李新科
 * @date 2021/4/25 13:50
 */
public enum SmsType {

    LOGIN(1, "登录验证码"),
    REGISTER(2, "注册验证码"),
    UPDATE_PHONE(3, "修改手机号验证码"),
    RESET_PWD(4, "重置密码/忘记验证码"),
    UPDATE_PWD(5, "修改密码验证码"),
    GENERAL(6, "通用验证码"),
    ;

    private Integer type;
    private String label;

    SmsType(Integer type, String label) {
        this.type = type;
        this.label = label;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
